﻿using Abp.Domain.Entities.Auditing;
using System;

namespace Choucius.Boilerplate9.OutboundTasks
{
    public class OutboundTask : AuditedAggregateRoot
    {
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime? BillDate { get; set; }

        /// <summary>
        /// 单据编号
        /// </summary>
        public string BillNumber { get; set; }

        /// <summary>
        /// 计划生产产品的ERP-ID
        /// </summary>
        public string ProductErpId { get; set; }

        /// <summary>
        /// 计划生产产品的名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 生产机台号（上料工站）ID
        /// </summary>
        public int WorkStationId { get; set; }

        /// <summary>
        /// 产品日计划生产数量
        /// </summary>
        public int ProductionQuantity { get; set; }

        /// <summary>
        /// 需涂油
        /// </summary>
        public bool NeedInunction { get; set; }

        /// <summary>
        /// 对应吸塑盒数量
        /// </summary>
        public int PlasticContainerQuantity { get; set; }

        /// <summary>
        /// 预计生产日期
        /// </summary>
        public DateTime? PlanProduceDate { get; set; }

        /// <summary>
        /// 任务状态
        /// </summary>
        public string TaskStatus { get; set; }

        /// <summary>
        /// 已出库吸塑盒数量
        /// </summary>
        public int OutboundedQuantity { get; set;}
    }
}
